package com.base.system.web.dto.menu;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@ApiModel("菜单数据装载对象")
@Data
@Accessors(chain = true)
public class MenuDto implements Serializable {
    private static final long serialVersionUID = -4444771580727605188L;
    private Long id;
    private Long parentId;
    private String filePath;
    private List<MenuDto> childrens = new ArrayList<>();
    private String url;
    private String nameZh;
    private Integer sortCode;
    private String icon;
    private Boolean isDisable;
}
